// 全局变量
@import './variables.scss';

a {
  text-decoration: none;
  color: #333;
}

* {
  outline: none;
}

.avue-sidebar,
.avue-top,
.avue-logo,
.avue-layout .login-logo,
.avue-main {
  transition: all 0.3s;
}

.avue-layout {
  display: flex;
  height: 100%;
  overflow: hidden;

  &--horizontal {
    flex-direction: column;

    .avue-sidebar {
      width: 100%;
      height: $top_height;
      display: flex;

      .avue-menu,
      .el-menu-item,
      .el-sub-menu__title {
        height: $top_height;
        line-height: $top_height;
      }

      .is-active:before {
        display: none;
      }
    }

    .avue-logo {
      width: $sidebar_width;
    }
  }
}

.avue-contail {
  width: 100%;
  height: 100%;
  background: #f0f2f5;
  background-size: 100%;
  background-repeat: no-repeat;
}

.avue--collapse {
  .avue-sidebar,
  .avue-logo {
    width: $sidebar_collapse;
  }
}

.avue-main {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
  box-sizing: border-box;
  overflow: hidden;
  background: #f0f2f5;
}

#avue-view {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  margin-bottom: 10px;
}

.avue-view {
  width: 100%;
  box-sizing: border-box;
}

.avue-footer {
  width: 100%;
  position: absolute;
  bottom: 0;
  text-align: center;

  .copyright {
    color: #666;
    font-size: 12px;
  }
}

.mac_bg {
  background-image: url('/img/bg.jpg');
  background-color: #000;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.avue-crud__searchBtn {
  display: none !important;
}

.mb10 {
  margin-bottom: 10px;
}
.hideFileInput {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer !important;
}
.upload {
  position: relative;
}
.upload:hover {
  color: #409eff;
  border-color: #c6e2ff;
  background-color: #ecf5ff;
  outline: 0;
}
.upload span {
  position: absolute;
  width: 100%;
  height: 100%;
}

// ele样式覆盖
@import './element-ui.scss';
// 顶部右侧显示
@import './top.scss';
// 导航标签
@import './tags.scss';
// 工具类函数
@import './mixin.scss';
// 侧面导航栏
@import './sidebar.scss';
//主题
@import './theme/index.scss';
//通用配置
@import './normalize.scss';
//图标配置
@import './iconfont.scss';
//登录样式
@import './login.scss';
//适配
@import './media.scss';
//滚动条样式
@include scrollBar;

.question-item-label {
  margin-top: 10px;
  margin-bottom: 10px !important;
}
.question-item-content-input {
  margin-left: 8px;
  width: 100%;
}
.question-item-remove {
  margin-left: 20px;
}
.align-center {
  align-items: center;
}
.mt10 {
  margin-top: 10px;
}
.q-item-contain {
  display: flex;
  flex-wrap: wrap;
}
.q-item-contain p {
  margin: 0;
}
.q-item-prefix {
  margin-right: 10px;
}
.text-center {
  text-align: center;
}
.flex {
  display: flex;
}
.flex-between {
  justify-content: space-between;
}
.p10 {
  padding: 10px;
}
.is-current > .el-tree-node__content,
.is-current > .el-tree-node__content:hover,
.is-current > .el-tree-node__content:focus {
  background-color: #ecf5ff !important;
}
.pt10 {
  padding-top: 10px;
}
.ptb10 {
  padding-top: 10px;
  padding-bottom: 10px;
}
.mr5 {
  margin-right: 5px;
}
.mr50 {
  margin-right: 50px;
}
.ml15 {
  margin-left: 15px;
}
.mt15 {
  margin-top: 15px;
}
.ml20 {
  margin-left: 20px;
}
.ml40 {
  margin-left: 40px;
}
.mr-20 {
  margin-right: -20px;
}
.pb10 {
  padding-bottom: 10px;
}
.flex1 {
  flex: 1;
}
.pt0 {
  padding-top: 0px !important;
}
.mr10 {
  margin-right: 10px;
}
.f24 {
  font-size: 24px;
}
.m0 {
  margin: 0;
}
.mt-10 {
  margin-top: -10px;
}
.nowrap {
  white-space: nowrap;
}
.self-end {
  align-self: flex-end;
}
.flex-center {
  justify-content: center;
}
.flex-wrap {
  flex-wrap: wrap;
}
.w100 {
  width: 100%;
}
.mb5 {
  margin-bottom: 5px;
}
.mt-20 {
  margin-top: -20px;
}
.el-textarea__inner {
  padding-left: 11px !important;
}
.ml5 {
  margin-left: 5px;
}
.el-form-item__label {
  width: 110px !important;
}
.mtb10 {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}
.mtb0 {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}
.h100 {
  height: 100%;
}
.flex-around{
  justify-content: space-around;
}
.mt5{
  margin-top: 5px;
}
.mb-5{
  margin-bottom: -5px;
}
.ml50 {
  margin-left: 50px;
}
.mt40{
  margin-top: 40px;
}